/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chapter5.creational.builder;

/**
 *
 * @author ASUS
 */
public class ItailianMealBuilder implements MealBuilder{
    
    private Meal meal;
    
    public ItailianMealBuilder()
    {
        meal = new Meal();
    }

    @Override
    public void buildDrink() {
        meal.setDrink("red wine");
    }

    @Override
    public void builderCourse() {
        meal.setMainCourse("pizza");
    }

    @Override
    public void buildSide() {
        meal.setSide("bread");
    }

    @Override
    public Meal getMeal() {
        return meal;
    }
    
}
